﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VirtualTournaments.Services.Tournaments
{
    public class Player
    {
        private String _name;
        private String _role;
        private String _team;
        private List<String> _abilities;

        
        public Player(String name,String teamName,String role, String speed, String precision, String strength, String dribbling)
        {
            _name = name;
            _role = role;
            _team = teamName;
            _abilities = new List<string>()
            {
                speed,precision,strength,dribbling
            };


        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Team
        {
            get { return _team; }
            set { _team = value; }
        }

        public string Role
        {
            get { return _role; }
            set { _role = value; }
        }

        public List<String> Abilities
        {
            get { return _abilities; }
        }
    }
}
